package com.example.springboottestservice.postprocessor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author wuxinxin
 */
@Component
public class A {

    public A() {
        System.out.println("创建A");
    }

    @Autowired
    private B b;

    public B getB() {
        return b;
    }

    public void setB(B b) {
        this.b = b;
    }
}
